package com.xuecheng.api.cms;

import com.xuecheng.framework.domain.cms.CmsPage;
import com.xuecheng.framework.domain.cms.request.QueryPageRequest;
import com.xuecheng.framework.domain.cms.response.CmsPageResult;
import com.xuecheng.framework.model.response.QueryResponseResult;

/**
 * Created by Windows on 2018/11/3.
 */
public interface CmsPageControllerApi {
    //页面查询
    public QueryResponseResult findList(int page , int size , QueryPageRequest queryPageRequest);

    public CmsPageResult add(CmsPage cmsPage);

    public CmsPage findById(String id );

    public CmsPageResult edit(String id ,CmsPage cmsPage);
}
